package com.example.sentinelproviderdemo.controller;

import com.alibaba.csp.sentinel.slots.block.BlockException;

import java.time.LocalDateTime;

/**
 * @author chaird
 * @create 2022-04-20 20:25
 */
public class CustomerBlockHandler {


    public static String handlerException2(BlockException exception) {
        return "自定义规则"+ LocalDateTime.now().toString();
    }
}
